package net.awpspace.mobile.management.note;


public class Note {
	private String name;
	private String content;
	private String place;
	private int ngay;
	private int thang;
	private int nam;
	private boolean alarm;
	private int gio;
	private int phut;
	private boolean cn;
	private boolean t2;
	private boolean t3;
	private boolean t4;
	private boolean t5;
	private boolean t6;
	private boolean t7;

	public Note() {
		super();
	}

	public Note(String name, String content, String place, int ngay, int thang,
			int nam, boolean alarm) {
		super();
		this.name = name;
		this.content = content;
		this.place = place;
		this.ngay = ngay;
		this.thang = thang;
		this.nam = nam;
		this.alarm = alarm;
		this.gio = 0;
		this.phut = 0;
		this.cn = false;
		this.t2 = false;
		this.t3 = false;
		this.t4 = false;
		this.t5 = false;
		this.t6 = false;
		this.t7 = false;
	}

	public Note(String name, String content, String place, int ngay, int thang,
			int nam, boolean alarm, int gio, int phut, boolean cn, boolean t2,
			boolean t3, boolean t4, boolean t5, boolean t6, boolean t7) {
		super();
		this.name = name;
		this.content = content;
		this.place = place;
		this.ngay = ngay;
		this.thang = thang;
		this.nam = nam;
		this.alarm = alarm;
		this.gio = gio;
		this.phut = phut;
		this.cn = cn;
		this.t2 = t2;
		this.t3 = t3;
		this.t4 = t4;
		this.t5 = t5;
		this.t6 = t6;
		this.t7 = t7;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public int getNgay() {
		return ngay;
	}

	public void setNgay(int ngay) {
		this.ngay = ngay;
	}

	public int getThang() {
		return thang;
	}

	public void setThang(int thang) {
		this.thang = thang;
	}

	public int getNam() {
		return nam;
	}

	public void setNam(int nam) {
		this.nam = nam;
	}

	public boolean isAlarm() {
		return alarm;
	}

	public void setAlarm(boolean alarm) {
		this.alarm = alarm;
	}

	public int getGio() {
		return gio;
	}

	public void setGio(int gio) {
		this.gio = gio;
	}

	public int getPhut() {
		return phut;
	}

	public void setPhut(int phut) {
		this.phut = phut;
	}

	public boolean isCn() {
		return cn;
	}

	public void setCn(boolean cn) {
		this.cn = cn;
	}

	public boolean isT2() {
		return t2;
	}

	public void setT2(boolean t2) {
		this.t2 = t2;
	}

	public boolean isT3() {
		return t3;
	}

	public void setT3(boolean t3) {
		this.t3 = t3;
	}

	public boolean isT4() {
		return t4;
	}

	public void setT4(boolean t4) {
		this.t4 = t4;
	}

	public boolean isT5() {
		return t5;
	}

	public void setT5(boolean t5) {
		this.t5 = t5;
	}

	public boolean isT6() {
		return t6;
	}

	public void setT6(boolean t6) {
		this.t6 = t6;
	}

	public boolean isT7() {
		return t7;
	}

	public void setT7(boolean t7) {
		this.t7 = t7;
	}

	public String toString() {
		return "" + name + "|" + content + "|" + place + "|" + ngay + "|"
				+ thang + "|" + nam + "|" + alarm + "|" + gio + "|" + phut
				+ "|" + cn + "|" + t2 + "|" + t3 + "|" + t4 + "|" + t5 + "|"
				+ t6 + "|" + t7;
	}

}
